package ru.nosport.matrixaria.modules.user.test;

import org.apache.commons.configuration.Configuration;
import ru.nosport.matrixaria.modules.common.AppServerProcess;

/**
 * User: vfabr
 * Date: 28.09.2006
 * Time: 18:48:53
 */
public class StubAppServerProcess4  implements AppServerProcess {
	private boolean isRunning;
	private Configuration conf;

	public StubAppServerProcess4(Configuration _conf) {
		this.conf = _conf;
	}

	public StubAppServerProcess4() {
		this.isRunning = false;
	}

	public boolean moduleStart() {
		return false;  //To change body of implemented methods use File | Settings | File Templates.
	}

	//
	public boolean moduleStop() {
		this.isRunning = false;
		return !this.isRunning;  //To change body of implemented methods use File | Settings | File Templates.
	}

	//
	public boolean isModuleRunning() {
		return this.isRunning;  //To change body of implemented methods use File | Settings | File Templates.
	}

	//
	public String moduleStat() {
		return "Running: " + this.isRunning;  //To change body of implemented methods use File | Settings | File Templates.
	}

	//
	public String getMyName() {
		return "I'am StubAppServerProcess4";
	}

	//
	public String standAct() {
		return "I'am standing";
	}
}
